package com.jx.driving.request;

import com.jx.driving.message.TimeTerminalRequestMessage;
import com.jx.driving.protocol.terminal.annotation.LimitedStringAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

@TerminalAnnotation
public class Terminal0x0701Request extends TimeTerminalRequestMessage {
	private static final long serialVersionUID = 538420362607422156L;

	/**终端制造商编码**/
	@LimitedStringAnnotation(value = 5, order = 1)
	private String vender;
	/**终端型号**/
	@LimitedStringAnnotation(value = 20, order = 2)
	private String model;
	/**计时终端出厂序列号**/
	@LimitedStringAnnotation(value = 7, order = 3)
	private String serialNum;
	/**imei**/
	@LimitedStringAnnotation(value = 15, order = 4)
	private String imei;

	/**终端密码**/
	@LimitedStringAnnotation(value = 6, order = 5)
	private String passwd;

	public String getVender() {
		return vender;
	}

	public void setVender(String vender) {
		this.vender = vender;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Terminal0x0701Request [vender=");
		builder.append(vender);
		builder.append(", model=");
		builder.append(model);
		builder.append(", serialNum=");
		builder.append(serialNum);
		builder.append(", imei=");
		builder.append(imei);
		builder.append(", passwd=");
		builder.append(passwd);
		builder.append("]");
		return builder.toString();
	}

}
